package com.lzl.producer.task;

import com.lzl.common.GateWayPo;
import com.lzl.common.http.SimpleRequest;
import com.lzl.producer.services.ProducerService;

public class ProducerTask implements Runnable {

    private GateWayPo po;

    private ProducerService service;

    public ProducerTask(GateWayPo po, ProducerService service) {
        this.po = po;
        this.service = service;
    }

    @Override
    public void run() {

        service.add(po);

    }
}
